package com.xiaotu.common.model;

/**
 * @类名 TVNetPlayModel
 * @日期 2017年2月8日
 * @作者 高海军
 * @功能 网剧播放信息实体类
 */
public class NetTVModel extends TVModel
{
    private String resourceSiteId;// 站点名称
    private String sets;// 集数
    private String type;//类型
    private String lang;//语言
    private String year;//平台上映时间
    private String desc;//简介
    private String playCount;//播放量
    private String score;// 评分
    private String queryYear; // 查询年份
    private String siteDataId;//网站的剧id
    private String url;//剧的地址
    private long timestamp;

    public NetTVModel()
    {
        super();
    }

    /**
     * 创建对象时都有调用此构造方法，不要调用默认构造方法
     *
     * @param tvId           剧ID，无法确认时为：Constants.TargetType.OTHER_TYPE_ID，非空
     * @param tvName         剧名称，非空
     * @param resourceSiteId 网站名称，只能为Constants.SiteName的成员，非空
     * @param sets           集数，非空
     * @param type           类型，非空，多个用SepratorUtil.SEP_COMMA_EN分割
     * @param lang           语言
     * @param area           地区
     * @param year           平台上映时间，非空
     * @param director       导演，多个用SepratorUtil.SEP_COMMA_EN分割
     * @param actor          主演，多个用SepratorUtil.SEP_COMMA_EN分割
     * @param desc           描述
     * @param playCount      播放量，非空
     * @param score          评分
     * @param queryYear      上映年份，非空
     */
    public NetTVModel(String tvId, String tvName, String resourceSiteId, String sets, String type,
            String lang, String area, String year, String director, String actor, String desc,
            String playCount, String score, String queryYear)
    {
        super(tvId, tvName);
        this.resourceSiteId = resourceSiteId;
        this.sets = sets;
        this.type = type;
        this.lang = lang;
        this.year = year;
        this.desc = desc;
        this.playCount = playCount;
        this.score = score;
        this.setDirector(director);
        this.setArea(area);
        this.setActor(actor);
        this.queryYear = queryYear;
        this.timestamp = System.currentTimeMillis();
    }

    public String getResourceSiteId()
    {
        return resourceSiteId;
    }

    public void setResourceSiteId(String resourceSiteId)
    {
        this.resourceSiteId = resourceSiteId;
    }

    public String getSets()
    {
        return sets;
    }

    public void setSets(String sets)
    {
        this.sets = sets;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getLang()
    {
        return lang;
    }

    public void setLang(String lang)
    {
        this.lang = lang;
    }

    public String getYear()
    {
        return year;
    }

    public void setYear(String year)
    {
        this.year = year;
    }

    public String getDesc()
    {
        return desc;
    }

    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getPlayCount()
    {
        return playCount;
    }

    public void setPlayCount(String playCount)
    {
        this.playCount = playCount;
    }

    public String getScore()
    {
        return score;
    }

    public void setScore(String score)
    {
        this.score = score;
    }

    public long getTimestamp()
    {
        return timestamp;
    }

    public void setTimestamp(long timestamp)
    {
        this.timestamp = timestamp;
    }

    public String getQueryYear()
    {
        return queryYear;
    }

    public void setQueryYear(String queryYear)
    {
        this.queryYear = queryYear;
    }

    public String getSiteDataId()
    {
        return siteDataId;
    }

    public void setSiteDataId(String siteDataId)
    {
        this.siteDataId = siteDataId;
    }

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }
}
